<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>圣杯布局</title>

    <style>
        .content {
            height: 100px;
            box-sizing: border-box;
            padding: 0 100px;
            background: grey;
        }

        .content>div {
            height: 100px;
            float: left;
            word-break: break-all;
        }

        .center {
            width: 100%;
            background: greenyellow;
        }

        .left {
            width: 100px;
            background: pink;
            margin-left: -100%;
            position: relative;
            left: -100px;
        }

        .right {
            width: 100px;
            background: lightskyblue;
            margin-left: -100px;
            position: relative;
            left: 100px;
        }
    </style>
</head>

<body>
    <div class="content">
        <div class="center">centercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercentercenter</div>
        <div class="left">left</div>
        <div class="right">right</div>
    </div>
</body>

</html>